//
//  Score.m
//  618
//
//  Created by linda on 13-7-14.
//
//

#import "Score.h"

@implementation Score
@synthesize recordTime,name;
-(void)dealloc
{
    self.name = nil;
    self.recordTime = nil;
    
    [super dealloc];
}

// /////////////////////
// start 存储收藏data数据
// /////////////////////
- (id) initWithCoder: (NSCoder *)coder {
    self = [self init];
    if (self != nil)
    {
        self.score = [coder decodeIntForKey: @"score"];
        self.name = [coder decodeObjectForKey: @"name"];
        self.recordTime = [coder decodeObjectForKey:@"recordTime"];
        
        
    }
    return self;
}

- (void) encodeWithCoder: (NSCoder *)coder {
    [coder encodeInt:self.score forKey:@"score"];
    [coder encodeObject:self.name forKey:@"name"];
    [coder encodeObject:self.recordTime forKey:@"recordTime"];
    
    
}
//end  存储收藏data数据




@end
